package Bridge_Pattern.Plane;

import javax.swing.text.PlainDocument;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class client {
    public static void main(String[] args) {
        Plane plane;
        Plane_Factory factory;
        plane=(Plane)XMLUtil.getBean("plane");
        factory=(Plane_Factory)XMLUtil.getBean("factory");
        plane.setFactory(factory);
        plane.air_name("飞机");
    }
}
